﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Giraffe.Core.Common.Messengers
{
    public class Message: IMessage
    {
        public Message(string text, DateTime time, IMessengerContact sender, IMessengerContact reciever)
        {
            this.Text = text;
            this.Time = time;
            this.Sender = sender;
            this.Reciever = reciever;
        }

        #region Implementation of IMessage

        public string Text
        {
            get; private set;
        }

        public DateTime Time
        {
            get; private set;
        }

        public IMessengerContact Sender
        {
            get; private set;
        }

        public IMessengerContact Reciever
        {
            get; private set;
        }

        #endregion
    }
}
